@import './reset.less';
@import './antd/ui.less';



.mar5 { margin: 5px; }
.mar-b5{ margin-bottom: 5px; }
.mar-t5{ margin-top: 5px; }
.mar-l5{ margin-left: 5px; }
.mar-r5{ margin-right: 5px; }

.mar10 { margin: 10px; }
.mar-b10{ margin-bottom: 10px; }
.mar-t10{ margin-top: 10px; }
.mar-l10{ margin-left: 10px; }
.mar-r10{ margin-right: 10px; }

.mar20 { margin: 20px; }
.mar-b20 { margin-bottom: 20px; }
.mar-t20 { margin-top: 20px; }
.mar-l20 { margin-left: 20px; }
.mar-r20 { margin-right: 20px; }

.mar-b0 { margin-bottom: 0; }
.mar-t0 { margin-top: 0; }
.mar-l0 { margin-left: 0; }
.mar-r0 { margin-right: 0; }


.pad5 { padding: 5px; }
.pad-b5{ padding-bottom: 5px; }
.pad-t5{ padding-top: 5px; }
.pad-l5{ padding-left: 5px; }
.pad-r5{ padding-right: 5px; }
.pad-lr5 { 
    padding-left: 5px; 
    padding-right: 5px; 
}
.pad-bt5 { 
    padding-bottom: 5px; 
    padding-top: 5px; 
}

.pad10 { padding: 10px; }
.pad-b10{ padding-bottom: 10px; }
.pad-t10{ padding-top: 10px; }
.pad-l10{ padding-left: 10px; }
.pad-r10{ padding-right: 10px; }
.pad-lr10 { 
    padding-left: 10px; 
    padding-right: 10px; 
}
.pad-bt10 { 
    padding-bottom: 10px; 
    padding-top: 10px; 
}

.pad20 { padding: 20px; }
.pad-b20 { padding-bottom: 20px; }
.pad-t20 { padding-top: 20px; }
.pad-l20 { padding-left: 20px; }
.pad-r20 { padding-right: 20px; }
.pad-lr20 { 
    padding-left: 20px; 
    padding-right: 20px; 
}
.pad-bt20 { 
    padding-bottom: 20px; 
    padding-top: 20px; 
}

.pad-b0{ padding-bottom: 0; }
.pad-t0{ padding-top: 0; }
.pad-l0{ padding-left: 0; }
.pad-r0{ padding-right: 0; }

.wfull{ width: 100%; }
.w10{ width: 10px; }
.w20{ width: 20px; }
.w30{ width: 30px; }
.w40{ width: 40px; }
.w50{ width: 50px; }
.w60{ width: 60px; }
.w70{ width: 70px; }
.w80{ width: 80px; }
.w90{ width: 90px; }
.w100{ width: 100px; }
.w110{ width: 110px; }
.w120{ width: 120px; }
.w130{ width: 130px; }
.w140{ width: 140px; }
.w150{ width: 150px; }
.w200{ width: 200px; }
.w250{ width: 250px; }
.w300{ width: 300px; }
.w400{ width: 400px; }
.w500{ width: 500px; }
.w600{ width: 600px; }
.w700{ width: 700px; }
.w800{ width: 800px; }

.hfull{ height: 100%; }
.h10{ height: 10px; }
.h20{ height: 20px; }
.h30{ height: 30px; }
.h40{ height: 40px; }
.h50{ height: 50px; }
.h60{ height: 60px; }
.h70{ height: 70px; }
.h80{ height: 80px; }
.h90{ height: 90px; }
.h100{ height: 100px; }
.h110{ height: 110px; }
.h120{ height: 120px; }
.h130{ height: 130px; }
.h140{ height: 140px; }
.h150{ height: 150px; }
.h200{ height: 200px; }
.h250{ height: 250px; }
.h300{ height: 300px; }
.h400{ height: 400px; }
.h500{ height: 500px; }
.h600{ height: 600px; }
.h700{ height: 700px; }
.h800{ height: 800px; }

.fs10{ font-size: 10px; }
.fs12{ font-size: 12px; }
.fs14{ font-size: 14px; }
.fs16{ font-size: 16px; }
.fs18{ font-size: 18px; }
.fs20{ font-size: 20px; }
.fs24{ font-size: 24px; }
.fs30{ font-size: 30px; }
.fs40{ font-size: 40px; }
.fs50{ font-size: 50px; }
.fs60{ font-size: 60px; }
.fs80{ font-size: 80px; }
.fs100{ font-size: 100px; }
.fs150{ font-size: 150px; }

.fw-bold{ font-weight: bold;}

.color-333{ color: #333; }
.color-666{ color: #666; }
.color-999{ color: #999; }
.color-ccc{ color: #ccc; }
.color-red{ color: #ff0000; }
.color-green{ color: #0b670b; }
.color-base{ color: @baseColor; }

.txt-l{ text-align: left; }
.txt-r{ text-align: right; }
.txt-c{ text-align: center; }


.form {
    width: 100%;
    // min-height: 100px;
    padding: 20px 20px 10px 20px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
}

.page_content {
    flex: 1;
    height: 1px;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
}

.form-item {
    width: 240px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.form-btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

// 横向flex
.flex{
    display: flex;
    flex-wrap: wrap;
    >.flex-1{
        width: 1px;
    }
}
// 纵向flex布局
.flex-column{
    display: flex;
    flex-direction: column;
    >.flex-1{
        height: 1px;
    }
}
// flex:1
.flex-1 {
    flex: 1;
}
.flex-2 {
    flex: 2;
}
.flex-3 {
    flex: 3;
}
// 居中布局
.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-h-center{
    display: flex;
    justify-content: center;
}
.flex-v-center{
    display: flex;
    align-items: center;
}


.pointer{
    cursor: pointer;
}
.nodrop{
    cursor: no-drop;
}
.link{
    color: #4d84fd;
    cursor: pointer;
    // white-space: nowrap;
    // user-select: none;
}
.nowrap_link{
    color: #4d84fd;
    cursor: pointer;
    white-space: nowrap;
    // user-select: none;
}
// 超链接
.hyper-link{
    cursor: pointer;
    color: @baseColor;
    text-decoration: underline;
}
// 默认盒子容器
.page-box{
    width: 100%;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    margin: 0 0 10px 0;
}
.overflow {
    .overflow();
}
.break-all{
    word-wrap: break-word;
}
.placeholder{
    color: #c5c8ce;
}

// 分页器
.pager{
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
